#include "GlobalHead.h"
#include "AppPartGui.h"
#include "part/ViewProviderBox.h" 
#include "part/ViewProvider.h"
#include "ViewProvider2DObject.h"
#include "ViewProviderPathCamera.h"
#include "ViewProviderFreeCamera.h"


AppPartGui* AppPartGui::_sington = 0;

AppPartGui::AppPartGui(void)
{
}

AppPartGui::~AppPartGui(void)
{
}

AppPartGui* AppPartGui::Instatnce()
{
   if(_sington == 0)
	   _sington = new AppPartGui;
   return _sington;
}
void AppPartGui::destruct()
{
	delete _sington;
	_sington = NULL;
}

void AppPartGui::initPartGui()
{

	PartGui::ViewProviderPartBase        ::init();
	 PartGui::ViewProviderPartExt        ::init();
	PartGui::ViewProviderPart            ::init();
	PartGui::ViewProviderBox            ::init();
	 PartGui::ViewProvider2DObject       ::init();
	 PartGui::ViewProviderPathCamera     ::init();
	 PartGui::ViewProviderFreeCamera     ::init();
}
